﻿@model IList<ContosoUniversity.SchoolViewModels.EnrollmentDateGroup>
@{
    ViewData["Title"] = "About";
}
<h2>@ViewData["Title"]</h2>

<table>
    <tr>
        <th>
            Enrollment Date
        </th>
        <th>
            Students
        </th>
    </tr>


    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.EnrollmentDate)
            </td>
            <td>
                @Html.DisplayFor(t => item.StudentCount)
            </td>
        </tr>
    }
</table>